/*
 * KrautMobil.h
 *
 *  Created on: 20.09.2012
 *      Author: Daniel Weber
 */

#ifndef KRAUTMOBIL_H_
#define KRAUTMOBIL_H_

#ifndef SCHAR_MAX
#define SCHAR_MAX 127
#endif /* SCHAR_MAX */

#define KRAUT_CMD_REQ_TRQ   0
#define KRAUT_CMD_REQ_STEER 1
#define KRAUT_CMD_REQ_ECHO  2

#define KRAUT_CMD_RET_TRQ   3

#define KRAUT_MSG_START_BYTE (SCHAR_MAX - 1)
#define KRAUT_MSG_END_BYTE    SCHAR_MAX

#define KRAUT_MSG_DATA_LEN 2 
#define KRAUT_MSG_TOTAL_LEN (KRAUT_MSG_DATA_LEN+2)

#endif /* KRAUTMOBIL_H_ */
